package frame.base;

/**
 * UUID服务类
 * @param <T>
 * @param <Q>
 */
public abstract class UUIdService<T extends BaseTo<String>, Q extends BaseQo> extends BaseService<String, T, Q>{

    @Override
    protected void preAdd(T record) {
        super.preAdd(record);
        record.setId(uuid32());
    }

}
